﻿<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=gbk" />
    <title><TableName /></title>
    <style type="text/css">
        * {
            padding: 0;
            margin: 0;
        }

        body {
            font-size: 9pt;
            font-family: "Cascadia Code","lucida console","Consolas",'Microsoft YaHei' !important;
        }

        h2 {
            text-align: center;
            margin: 30px auto;
        }

        table {
            margin: 20px auto;
        }

        table td {
            line-height: 30px
        }

        a {
            color: #015FB6;
        }

        a:link, a:visited, a:active {
            color: #015FB6;
            text-decoration: none;
        }

        a:hover {
            color: #E33E06;
        }

        .other-bg-color {
            background-color: #FCFCFC;
        }

        .check-bg-color {
            background-color: #E6E6FA;
        }
    </style>
    <script type="text/javascript">
        window.onload = function () {
            var trs = document.getElementById('tab-struct').getElementsByTagName('tr');
            for (var i = 0; i < trs.length; i++) {
                if (i == 0) { continue; }
                trs[i].onclick = function () {
                    for (var j = 0; j < trs.length; j++) {
                        if (j == 0) { continue; }
                        trs[j].className = 'other-bg-color';
                    }
                    this.className = 'check-bg-color';
                }
            }
        }
    </script>
</head>
<body>
    <div>
        <table id='tab-struct' cellspacing="0" cellpadding="5" border="1" width="95%" bordercolorlight="#D7D7E5" bordercolordark="#D3D8E0">
            <caption>
                <h2><TableName /></h2>
                <span style='float: left; margin-top: 6px;font-size:16px;'><Comment /></span>
                <a href='../../toc.html' style='float: right; margin-top: 6px;font-size:16px;'>
                    返回目录
                </a>
            </caption>
            <tr bgcolor="#F0F0F0" style='font-weight: bold;'>
                <td>序号</td>
                <td>列名</td>
                <td>数据类型</td>
                <td>长度</td>
                <td>小数位数</td>
                <td>主键</td>
                <td>自增</td>
                <td>允许空</td>
                <td>默认值</td>
                <td>列说明</td>
            </tr>
            
            <Columns />
        </table>
    </div>
</body>
</html>